class Temp
{
	public static void main(String args[])
	{
	double temp[]={12,15.3,14.3,14.6,17.5,17,12.9,};
	int size,x;
	double average total,calculate;
		
	size=marks.length;
	total=0;
	x=0;
	while(x<size)
		{
		total=total+temp[x];
		x++;
		average=total/size;
		}
	System.out.println("Total:"+total);
	System.out.println("Average:"+average);
	}
}